package com.molichuxing.gateway.bff.goods.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import com.molichuxing.services.business.dto.response.GoodsPackageBizDto;
import com.molichuxing.services.business.dto.response.GoodsSpecBizDto;
import com.molichuxing.services.property.GoodsPaymentTypeEnum;
import com.molichuxing.services.property.GoodsUpperSelfEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @create_date: 2019/4/3
 * @name:goods-service
 * @author xuelin yi
 **/
@Data
public class GoodsVo extends ResponseRootDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;

    @ApiModelProperty(value = "商品编号")
    private String code;

    @ApiModelProperty(value = "车型ID")
    private Integer vehicleStyleId;

    @ApiModelProperty(value = "车型名称")
    private String vehicleStyleStr;

    @ApiModelProperty(value = "用车时长")
    private String useVehicleTime;

    @ApiModelProperty(value = "保证金")
    private BigDecimal bond;

    @ApiModelProperty(value = "租车费")
    private BigDecimal rental;

    @ApiModelProperty(value = "付款方式(1:全款，2：分期)")
    private Integer paymentType;

    @ApiModelProperty(value = "付款方式")
    private String paymentTypeStr;


    @ApiModelProperty(value = "过户时限（0，12，24，36）")
    private Integer transferTime;

    @ApiModelProperty(value = "是否回购(0:是，1:否)")
    private Byte isBuyBack;

    @ApiModelProperty(value = "是否回购(0:是，1:否)")
    private String isBuyBackStr;


    @ApiModelProperty(value = "是否上架状态（0：上架，1：下架）")
    private Integer upperShelf;

    @ApiModelProperty(value = "是否上架")
    private String upperShelfStr;


    @ApiModelProperty(value = "里程规格集合")
    private List<GoodsPackageBizDto> packageList;

}
